package com.hutu.comment.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

import java.io.Serializable;

/**
 * 问题标签关联表
 * @TableName tb_question_tag
 */
@TableName(value ="tb_question_tag")
@Data
public class TbQuestionTag implements Serializable {
    /**
     * 标签ID
     */
    @MppMultiId
    @TableField(value = "tag_id")
    private Integer tagId;

    /**
     * 问题ID
     */
    @MppMultiId
    @TableField(value = "question_id")
    private String questionId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}